#ifndef PARKINGINFOWIDGET_H
#define PARKINGINFOWIDGET_H

#include <QWidget>

namespace Ui {
class ParkingInfoWidget;
}

class ParkingInfoWidget : public QWidget
{
    Q_OBJECT

public:
    explicit ParkingInfoWidget(QWidget *parent = 0);
    ~ParkingInfoWidget();
    void setSelectedId(int id);

private slots:
    void on_btn_save_clicked();

private:
    Ui::ParkingInfoWidget *ui;
    void initWindow(); //初始化窗体
    int selectedId; //选中记录的ID
};

#endif // PARKINGINFOWIDGET_H
